home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 4140
- ClientLeft = 1800
- ClientTop = 1830
- ClientWidth = 6690
- Height = 4545
- Left = 1740
- LinkTopic = "Form1"
- ScaleHeight = 4140
- ScaleWidth = 6690
- Top = 1485
- Width = 6810
- Begin VB.VScrollBar VScroll1
- Height = 2055
- Left = 4080
- Max = 100
- TabIndex = 3
- Top = 240
- Value = 50
- Width = 255
- End
- Begin VB.HScrollBar HScroll1
- Height = 255
- Left = 480
- Max = 100
- TabIndex = 1
- Top = 1080
- Value = 50
- Width = 2295
- End
- Begin VumeterLib.Vumeter Vumeter2
- Height = 2055
- Left = 3120
- TabIndex = 2
- Top = 240
- Width = 855
- _version = 65536
- _extentx = 1508
- _extenty = 3625
- _stockprops = 1
- backcolor = 12632256
- bordercolor = 0
- min = 0
- max = 100
- pos = 50
- outerbevel = 1
- innerbevel = 0
- outerbevelwidth = 4
- innerbevelwidth = 8
- borderwidth = 2
- shadowcolor = 8421504
- hilitecolor = 16777215
- highalarmcolor = 255
- lowalarmcolor = 65280
- highalarm = 85
- lowalarm = 15
- orientation = 1
- tickmarks = 9
- tickcolor = 0
- tickstyle = 2
- End
- Begin VumeterLib.Vumeter Vumeter1
- Height = 855
- Left = 480
- TabIndex = 0
- Top = 120
- Width = 2295
- _version = 65536
- _extentx = 4048
- _extenty = 1508
- _stockprops = 1
- backcolor = 12632256
- bordercolor = 0
- min = 0
- max = 100
- pos = 50
- outerbevel = 1
- innerbevel = 0
- outerbevelwidth = 3
- innerbevelwidth = 8
- borderwidth = 3
- shadowcolor = 8421504
- hilitecolor = 16777215
- highalarmcolor = 255
- lowalarmcolor = 65280
- highalarm = 85
- lowalarm = 15
- orientation = 0
- tickmarks = 11
- tickcolor = 0
- tickstyle = 0
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub HScroll1_Change()
- Vumeter1.Pos = HScroll1.Value
- End Sub
- Private Sub HScroll1_Scroll()
- Vumeter1.Pos = HScroll1.Value
- End Sub
- Private Sub VScroll1_Change()
- Vumeter2.Pos = 100 - VScroll1.Value
- End Sub
- Private Sub VScroll1_Scroll()
- Vumeter2.Pos = 100 - VScroll1.Value
- End Sub
- Private Sub Vumeter1_Alarm(Alarm As Integer)
- If Alarm = 1 Then
- MsgBox ("Low Alarm")
- End If
- If Alarm = 2 Then
- MsgBox ("High Alarm")
- End If
- End Sub
- Private Sub Vumeter2_Alarm(Alarm As Integer)
- If Alarm = 1 Then
- MsgBox ("Low Alarm")
- End If
- If Alarm = 2 Then
- MsgBox ("High Alarm")
- End If
- End Sub
-